﻿using System.Net;
using System.Net.Sockets;
using eLoop;

namespace eNets.CBK.Sockets;

abstract class ASocketCntOper : ASocketOper
{
    public ASocketCntOper(Socket socket, ITaskScheduler scheduler, SocketCompletedDelegate notify)
        : base(socket, scheduler, notify)
    {
    }

    public void ConnectAsync(EndPoint point)
    {
        this.RemoteAddress = point;
        this.SocketOperationCombineAsync();
    }
}